package com.peas.platform.module.icims.expenditure.initialize.controller.vo;

import java.util.*;
import java.math.*;
import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("额度下达初始数据")
public class ExpenditureInitQuotaVo extends BaseVo {

    // （指标单表）外键
    @ApiModelProperty(value = "指标单ID", notes = "")
    private Long expenditureKpiId;

    // 自动生成
    @ApiModelProperty(value = "额度下达单编码", notes = "")
    @Size(max = 100, message = "额度下达单编码不能超过100个字符")
    private String quotaCode;

    @ApiModelProperty(value = "日期", notes = "")
    private Date quotaDate;

    @ApiModelProperty(value = "预算指标", notes = "")
    @Size(max = 200, message = "预算指标不能超过200个字符")
    private String kpi;

    // （组织架构表）外键
    @ApiModelProperty(value = "组织架构(部门)ID", notes = "")
    private Long submitOrganizationId;

    // （用户表）外键
    @ApiModelProperty(value = "用户ID", notes = "")
    private Long submitUserId;

    @ApiModelProperty(value = "额度下达初始化金额", notes = "")
    private BigDecimal amount;

    // （财政项目表）多级外键
    @ApiModelProperty(value = "财政项目ID", notes = "")
    @Size(max = 200, message = "财政项目ID不能超过200个字符")
    private String expenditureFiscalId;

    @ApiModelProperty(value = "摘要", notes = "")
    private String summary;

}
